<?php
//party的REST SERVER
//require_once(dirname(__FILE__)."/../src/party_mod_getindustryinfo.php");
require_once(dirname(__FILE__)."/../src/get_productlist_by_tagId.php");
require_once(dirname(__FILE__)."/../src/dgsite_mod_site_search.php");


if($_SERVER['REQUEST_METHOD'] == "POST")
{
	switch ($_POST['act'])
	{			
		
		default:
			echo  'FALSE';
			break;
	}

}
else if($_SERVER['REQUEST_METHOD'] == "GET")
{
    switch ($_GET['act'])
	{			
	    case 'daogou_search_product':				
			echo daogou_search_product($_GET);
			break;	  
       case 'get_productlist_by_tagId':
           echo get_productlist_by_tagId($_GET);
		   break;
		default:
			echo  'FALSE';
			break;
	}
}
else
{
	echo 'FALSE';
}

?>